
//引入项目中所有全局组件
import SVgIcon from './Svgicon/index.vue'
import Pagination from './Pagination/index.vue'
//对外暴露插件对象
import Category from './Category/index.vue'
const allGloableComponent:any = {SVgIcon,Pagination,Category}
export default {
    install(app:any){
     //注册项目全部全局组件
     Object.keys(allGloableComponent).forEach(key=>{
      app.component(key, allGloableComponent[key]);
     })
    }
}